<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>




  <script>
    let num1 = parseInt(prompt("请输入秒数："));
    let num2 = parseInt(prompt("请输入分数："));
    let num3 = parseInt(prompt("请输入时数："));
    alert(`${num3 < 10 ? "0" + num3 : num3}：${num2 < 10 ? "0" + num2 : num2}：${num1 < 10 ? "0" + num1 : num1}`);
  </script>
</body>

</html>